package com.ecut.property_project.mapper.base;

import com.ecut.property_project.model.base.BaseDept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BaseDeptMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BaseDept record);

    int insertSelective(BaseDept record);

    List<BaseDept> selectAll();

    List<BaseDept> selectByPage(Integer page, Integer pageSize);

    BaseDept selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BaseDept record);

    int updateByPrimaryKey(BaseDept record);
}